﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MediaDefinitionAuditViewModel.cs" company="DST Nexdox">
//   Copyright (c) DST Nexdox. All rights reserved.
// </copyright>
// <summary>
//   Defines the MediaDefinitionAuditViewModel type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace DocProcessingWorkflow.Models.JobsAdmin
{
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  using Entities;

  public class MediaDefinitionAuditViewModel
  {
    public MediaDefinitionAuditViewModel(MediaDefinitionAuditEntity audit)
    {
      this.MediaDefinitionAuditId = audit.MediaDefinitionAuditId;
      this.UserName = audit.Username;
      this.AuditDate = audit.AuditDate;
      this.Details = audit.Details;
    }

    public Int32 MediaDefinitionAuditId { get; set; }

    public String UserName { get; set; }

    public DateTime AuditDate { get; set; }

    public String Details { get; set; }
  }
}